<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><s:property value="book.bookname" /></title>
<link rel="stylesheet" type="text/css" href="default.css" />
</head>
<div id="outer">
	<div align="right">
		<s:if test="#session.username != null">
			<h2>
				欢迎您,
				<s:property value="#session.username" />
				&nbsp; <a href="user_logout">退出登录</a>
			</h2>
		</s:if>
		<s:else>
			<a href="index.jsp">登录/注册</a>
		</s:else>
	</div>
	<div id="header">
		<h1>所有图书</h1>
		<div id="menu">
			<ul>
				<li class="first"><a href="globalAction">主页</a></li>
				<li><a href="#">求书区</a></li>
				<li><a href="addBook.jsp">一键发布</a></li>
				<li><a href="allBook">所有图书</a></li>
			</ul>
		</div>
	</div>
	<div id="inner">
		<div id="main">
			<div id="main_inner">
				<h2>所有图书</h2>
				<div class="content">
					<img src="<s:property value="book.url" />" class="cpic right"
						alt="" />
						<table align="left">
							<tr>
								<td width="50">出售人</td>
								<td><s:property value="book.user.username" /></td>
							</tr>
							<tr>
								<td width="50">书名</td>
								<td><s:property value="book.bookname" /></td>
							</tr>
							<tr>
								<td width="50">作者</td>
								<td><s:property value="book.author" /></td>
							</tr>
							<tr>
								<td width="50">出版社</td>
								<td><s:property value="book.edition" /></td>
							</tr>
							<tr>
								<td width="50">出售价格</td>								
								<td><s:property value="book.price" />元</td>								
							</tr>
							<tr>
								<td width="50">联系方式</td>
								<td><s:property value="book.phone" /></td>
							</tr>
							<tr>
								<td width="50">书记描述</td>
								<td><s:property value="book.description" /></td>
							</tr>
							
						</table>
				</div>
			</div>
		</div>

		<div id="side">
			<!-- Side start -->

			<h3>
				<strong>lorem</strong> ipsum dolor
			</h3>
			<div class="content"></div>

			<h3>
				<strong>lorem</strong> ipsum dolor
			</h3>
			<div class="content">
				<ul>

				</ul>
			</div>

			<!-- Side end -->
		</div>
		<div id="xbgB" class="foot"></div>
	</div>
	<br>
	
	
</div>
	

<div id="footer">
	&copy; 2008 MyWebsiteName. Design by <a
		href="http://www.nodethirtythree.com">NodeThirtyThree</a> + <a
		href="http://www.freecsstemplates.org/">Free CSS Templates</a>
</div>
<s:debug></s:debug>
<body>
</body>
</html>